import React, { Component } from 'react'
import { BrowserRouter } from 'react-router-dom'
import RouterView from './RouterView'
import page from './page'

export default class Router extends Component {
    render() {
        return (
            <BrowserRouter>
                <RouterView routes={page} />
            </BrowserRouter>
        )
    }
}